﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using FXnaInfrastructure;


namespace NSCore
{
    [Serializable]
    public class GridResult:FEntity
    {

        public GridResult(string id, GridReceptor gr):base(id)
        {

           

            this._grid = gr.InnerShape.Grid;



            int i = _grid.NX ;
            int j = _grid.NY ;



            this._contribueValue=new double[i,j];

            this._backValue=new double[i,j];

            this._preValue=new double[i,j];




 

        }



        FGrid _grid;

        public FGrid Grid
        {
            get { return _grid; }
            set { _grid = value; }
        }



        double[,] _contribueValue;

        public double[,] ContribueValue
        {
            get { return _contribueValue; }

        }


        double[,] _backValue;

        public double[,] BackValue
        {
            get { return _backValue; }
            
        }


        double[,] _preValue;

        /// <summary>
        /// 用于表示预测值
        /// </summary>
        public double[,] PreValue
        {
            get { return _preValue; }
           
        }








    }
}
